﻿#ifndef MYTHREAD_H
#define MYTHREAD_H

#include <QThread>
#include <QDebug>

class MyThread : public QThread
{
    Q_OBJECT
public:
   explicit MyThread(QObject* parent = nullptr);

signals:
    void myThreadSignal(const int); //自定义发送的信号

public slots:
    void myThreadSlot(const int); //自定义槽

protected:
    void run() override;
};

#endif // MYTHREAD_H
